﻿@{
    var X = Html.X();
}
@(X.Window()
        .ID("PreviewHoliday")
        .Title("请假申请审批")
        .Width(700)
        .Height(500)
        .Modal(true)
        .Collapsible(true)
        .Maximizable(true)
        .Loader(X.ComponentLoader()
                .Url("~/HolidayRequest/HolidayRequest")
                .Mode(LoadMode.Frame)
                .ReloadOnEvent(true)
                .LoadMask(lm => lm.ShowMask = true)
                    .Params(new Parameter("processID", "App.gpHolidayRequestList.getRowsValues({ selectedOnly: true })[0].ID", ParameterMode.Raw))
                )
    )
